﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AL.Service {

    /// <summary>
    /// HH: 基于菜单、功能模块的权限配置类
    /// </summary>
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
    public class PermissionCheckerAttribute : Attribute {

        /// <summary>
        /// HH: 构造函数初始化
        /// </summary>
        public PermissionCheckerAttribute() {

        }


        /// <summary>
        /// 导航栏主键标识
        /// </summary>
        public int PermissionID { get; set; }

        /// <summary>
        /// 一级导航菜单 ID（父 ID）
        /// </summary>
        public int MenuID { get; set; }


        /// <summary>
        /// 模块名
        /// </summary>
        public string ModuleName { get; set; }

        /// <summary>
        /// 权限名
        /// </summary>
        public string PermissionName { get; set; }

        /// <summary>
        /// 排序（该菜单下面的排序）
        /// </summary>
        public int Sort { get; set; }

    }

}
